package xjtu.se.articlecommunity.common;

public interface SMSService {

    /**
     * send message
     * @param tel
     * @param template
     * @param templateParamSet
     * @param phoneNumberSet
     */
    void sendSMS(String tel, String template, String[] templateParamSet, String[] phoneNumberSet);

    /**
     * send a verification code
     * @param tel
     * @return verification code
     */
    String sendVerificationCode(String tel);

    /**
     * send Notification of Registration Success to applicant
     * @param tel
     * @param u_id
     */
    void sendRegistrationSuccessNotification(String tel, String u_id);
}
